//
//  UUProductApplicationToOfflineRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 14/03/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUProductApplicationToOfflineRequestModel.h"

@implementation UUProductApplicationToOfflineRequestModel

- (instancetype)init {
    self = [super init];
    if (self) {
        [self addIgnoredObjects:@[@"id"]];
    }
    return self;
}

- (NSString *)url {
    return [NSString stringWithFormat:@"chartered_vehicle/offLineApply/%@",self.id];
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodPut;
}

@end

@implementation UUProductCancelApplicationToOfflineRequestModel

- (NSString *)url {
    return [NSString stringWithFormat:@"chartered_vehicle/CanceloffLineApply/%@",self.id];
}

@end
